package com.macro.mall.portal.dto.ums;

import com.macro.mall.common.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.Valid;

/**
 * 新增会员收货地址请求Dto
 *
 * @author xuyanjun
 * @date 2019-12-17
 */
@Valid
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class InsertMemberAddressReqDto extends BaseRequestDto {


    /**
     * 会员id
     */
    @ApiModelProperty(value = "会员id")
    private Long memberId;

    /**
     * 收货人名称
     */
    @ApiModelProperty(value = "收货人名称")
    private String name;

    /**
     * 收货人手机号码
     */
    @ApiModelProperty(value = "收货人手机号码")
    private String phoneNumber;

    /**
     * 是否为默认
     */
    @ApiModelProperty(value = "是否为默认")
    private Integer defaultStatus;

    /**
     * 邮政编码
     */
    @ApiModelProperty(value = "邮政编码")
    private String postCode;

    /**
     * 省份/直辖市
     */
    @ApiModelProperty(value = "省份/直辖市")
    private String province;

    /**
     * 城市
     */
    @ApiModelProperty(value = "城市")
    private String city;

    /**
     * 区
     */
    @ApiModelProperty(value = "区")
    private String region;

    /**
     * 详细地址(街道)
     */
    @ApiModelProperty(value = "详细地址(街道)")
    private String detailAddress;

    /**
     * 区域编号
     */
    @ApiModelProperty(value = "区域编号")
    private String areaCode;

}
